/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.comut.crud;

/**
 *
 * @author asantos
 */
public class abc {
        public static void main(String[] args) throws Exception {
      
        //JBoss' default remote jndi: <ejb-name>/remote
        /*final String jndiName = "CRUD-EA/TrailerBean/remote";
        Context ic = new InitialContext();
        System.out.println("about to look up jndi name " + jndiName);
        Object obj = ic.lookup(jndiName);
        System.out.println("lookup returned " + obj);

        ITrailerActionRemote foo = (ITrailerActionRemote) obj;
        
        Trailer s = foo.getTrailer(new Trailer());
        System.out.println(foo + " echo returned " + s);*/

    }
}
